package com.iaiai.cobra.repository.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.iaiai.cobra.repository.bean.LogRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * Created with LogRequestMapper.
 * Package: com.iaiai.cobra.repository.mapper
 * Author: iaiai
 * Create Time: 2024/7/26 21:59
 * QQ: 176291935
 * Email: 176291935@qq.com
 * Description:
 */
@Mapper
@Repository
public interface LogRequestMapper extends BaseMapper<LogRequest> {

    //分页查询
    Page<LogRequest> queryPage(Page page,
                               @Param("search") String search,
                               @Param("duration") Long duration);

}
